#include <stdlib.h>
#include <stdio.h>
#include "xxxcopy.h"

void copy_file(FILE *src, FILE *dst) {
	size_t data;
	extern double temp[];

	while((data = fread(temp, sizeof(double), BUFFSIZE, src)) >0)
		fwrite(temp, sizeof(double), data, dst);
}
